home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 3
/
Amiga Format CD03 (1996-07-04)(Future Publishing)(GB)(Track 1 of 6)[!][issue 1996-08].iso
/
comms
/
netsoftware
/
launchtcp.lha
/
LaunchTCP
/
startnet
< prev
Wrap
AmigaDOS Script File
|
1994-03-10
|
788b
|
27 lines
.key ip-number/A
.bra {
.ket }
run AmiTCP:AmiTCP
dh0:Rexxc/WaitForPort AMITCP
c:Wait 2 secs
; configure loop-back device
AmiTCP:bin/ifconfig lo/0 localhost
; Configure Devs:Networks/rhslip.device unit 0
AmiTCP:bin/ifconfig Devs:Networks/rhcslip.device/0 130.18.80.{ip-number} 130.18.80.14 netmask 255.255.255.0
; Add route to this host
AmiTCP:bin/route add danimal1.msstate.edu localhost
amitcp:bin/route add ra.msstate.edu 130.18.80.10
amitcp:bin/route add isis.msstate.edu 130.18.80.11
; add route to the default gateway
amitcp:bin/route add default 130.18.80.10
c:Assign TCP: Exists > NIL:
IF Warn
c:Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf
; Start the internet `super server'
run AmiTCP:bin/inetd
c:wait 2 secs
amiTCP:bin/online rhcslip.device 0
run AmiTCP:bin/smtpd >NIL: